<?php
if (count($template->getMenu()) > 0) {
?>
	<? foreach ($template->getMenu() as $p) { ?>
		<li class="menu_item"><a href="<?= page_link($p['name']) ?>"><? echo $p['title'] ?></a></li>
	<? } ?>
<?
}

?>